package com.example.springcloudribbon.controller;

import com.example.springcloudribbon.services.TestServiceInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    TestServiceInterface testServiceInterface;

    @RequestMapping("/test")
    public String showInfol(){
        System.out.println("find port");
        return testServiceInterface.port();

    }

}
